//分页实现类(未使用)
package com.sy.util;


public class PageBean {
	
	private int pageNo;
	private int previous;
	private int nextpageNo;
    private boolean firstPage;
    private boolean lastPage;
    private int sumPage;
    
    private int lastRecordIndex;
    private int pageFirstIndex;
    private int pageLastIndex;
    private int pageSize ;
    
    private int totalResult ;
    private String typeView;
    private String changeFlag;
    public void setChangeFlag(String changeFlag){
    	this.changeFlag=changeFlag;
    }
	public String getChangeFlag(){
		return changeFlag;
	}
    public void setTypeView(String typeView)
    {
    	this.typeView=typeView;
    }
    public String getTypeView()
    {
    	return typeView;
    }
    
    public void setPageFirstIndex(int pageFirstIndex)
    {
    	this.pageFirstIndex=pageFirstIndex;
    }
    public int getPageFirstIndex(){
    	return pageFirstIndex;
    }
    
    public void setPageLastIndex(int pageLastIndex)
    {
    	this.pageLastIndex=pageLastIndex;
    }
    public int getPageLastIndex(){
    	return pageLastIndex;
    }
    public void setLastRecordIndex(int lastRecordIndex){
    	this.lastRecordIndex=lastRecordIndex;
    }
    public int getLastRecordIndex(){
    	return lastRecordIndex;
    }
    public void setSumPage(int sumPage)
    {
    	this.sumPage=sumPage;
    }
    public int getSumPage()
    {
    	return sumPage;
    }
    public void setPageNo(int pageNo)
    {
    	
    	if (pageNo==0||"".equals(pageNo)){
    		this.pageNo=1;
    		
    	}
    	
    	else this.pageNo=pageNo;
    
    	
    }
    public int getPageNo()
    {

    	return pageNo;


    }
    public void setFirstPage(boolean firstPage)
    {
    	this.firstPage=firstPage;
    	
    }
    public boolean getFirstPage()
    {
    	return firstPage;
    }
    public void setLastPage(boolean lastPage)
    {
    	this.lastPage=lastPage;
    }
    public boolean getLastPage()
    {
    	return lastPage;
    }
    /**
     * @return int
     */
    public int getPageSize() {
        return pageSize;
    }
    
    /**
     * @param i int ��¼��
     */
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
	public int getTotalResult() {
		return totalResult;
	}
	public void setTotalResult(int totalResult) {
		this.totalResult = totalResult;
	}
	public int getNextpageNo() {
		return nextpageNo;
	}
	public void setNextpageNo(int nextpageNo) {
		this.nextpageNo = nextpageNo;
	}
	public int getPrevious() {
		return previous;
	}
	public void setPrevious(int previous) {
		this.previous = previous;
	}
}